package com.wowo.ffms.dao;

import com.wowo.ffms.entity.Account;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AccountDao {
    public void save(Account account);
    public void update(Account account);
    public void delete(int id);
    public void deleteAccounts(String[] ids);
    public Account getAccountByPK(int id);
    //分页查询
    public List<Account> getPageAccounts(@Param("pageNum") int pageNum,@Param("pageSize") int pageSize);
    public List<Account> getPageAccountsByDate(@Param("pageNum") int pageNum,@Param("pageSize") int pageSize,@Param("begDate") String begDate,@Param("endDate") String endDate);


}
